package com.ht.medicaltreatment.utils

import android.content.Context
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.view.BaseDialog
import kotlinx.android.synthetic.main.dialog_blood_error_layout.*

class BloodScanErrorDialog(context: Context):BaseDialog(context) {
    override fun getLayoutRes() = R.layout.dialog_blood_error_layout

    fun show(noUid:String,scanUID:String){
        tvRightName.text = noUid
        tvCurrentName.text = scanUID
        super.show()

        btnSubmit.setOnClickListener { dismiss() }
    }

}